<div class="newHLinksR">
                <ul style="color:#7b7f81; font-weight:bold; text-align:right; list-style:none;">
						<li><a href="page.php?page=<?php echo $arrPageDetail[0]["Page_Slug"]; ?>"><?php echo $arrPageDetail[0]["Comp_Page_Name"]; ?></a></li>
						<li><a href="page_photos.php?page=<?php echo $arrPageDetail[0]["Page_Slug"]; ?>">Photos</a></li>
						<li><a href="page_members.php?page=<?php echo $arrPageDetail[0]["Page_Slug"]; ?>">Members Name</a></li>
						<!--<li><a href="#">Events</a></li>-->
					<?php
						if(!$isPageOwner)
						{
							if(!$isPageMember)
							{
					?>	
						<li><a href="page.php?page=<?php echo $arrPageDetail[0]["Page_Slug"]; ?>&action=join">Join Page</a></li>
						<?php
							}
							else
							{
						?>
						<li><a href="page.php?page=<?php echo $arrPageDetail[0]["Page_Slug"]; ?>&action=leave">Leave Page</a></li>
					<?php
							}
						}
						if($isPageOwner)
						{
					?>	
						<li><a href="pagelist.php?dpage=<?php echo $arrPageDetail[0]["Page_Slug"]; ?>">Delete Page</a></li>
					<?php
						}
					?>	
 					</ul>
                
                </div>